package org.crazyit.activiti_d1._5_CreateStandalone;

import org.activiti.engine.ProcessEngineConfiguration;

public class CreateStandalone {

    public static void main(String[] args) {

        //1. 创建Standalone 流程引擎配置
        ProcessEngineConfiguration config = ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration();

        //2. 输出属性值
        //dataBaseSchemaUpdate 属性值为false
        System.out.println(config.getDatabaseSchemaUpdate());
        //jdbcUrl 属性值为jdbc:h2:tcp://localhost/~/activiti_d1
        System.out.println(config.getJdbcUrl());
        //jdbcDriver 属性值为org.h2.Driver
        System.out.println(config.getJdbcDriver());

    }

}
